package org.uu.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

public class SuperAbstractDto implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 时间字段，自动添加
     */
    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer isDelete;

    public SuperAbstractDto(Long id, LocalDateTime createTime, LocalDateTime updateTime, Integer isDelete) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDelete = isDelete;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
